home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / doc / expand.doc < prev    next >
Text File  |  1992-11-23  |  819b  |  37 lines

  1.  
  2. dcc/expand                            dcc/expand
  3.  
  4.                 EXPAND.DOC
  5.  
  6. SYNOPSIS
  7.     expand wildcard
  8.     expand "template" wildcard ...
  9.  
  10. DESCRIPTION
  11.     The EXPAND program will generate a file list based on one or more
  12.     wildcard patterns.    If you specify only a single argument it should be
  13.     a wildcard pattern.  If you specify more then one argument then the
  14.     first argument MUST be template for formatting the output.
  15.  
  16.     The template currently supports:
  17.  
  18.     * standard characters
  19.  
  20.     * %s (replaced with the filename, up to 10 occurances)
  21.  
  22.     * %% (replaced with a single '%'), use when you need a '%'
  23.       character so as not to confuse the template
  24.  
  25.     For example:
  26.  
  27.     1> expand S:#?
  28.     startup-sequence
  29.     user-startup
  30.     ...
  31.     1> expand "hello %s %s" S:#?
  32.     hello startup-sequence startup-sequence
  33.     hello user-startup startup-sequence
  34.     ...
  35.     1>
  36.  
  37.